<?php
/**
 * ============================================================================
 * Copyright (c) 2015-2018 贵州大师兄信息技术有限公司 All rights reserved.
 * siteַ: http://www.dsxcms.com
 * ============================================================================
 * @author:     David Song<songdewei@163.com>
 * @version:    v1.0.0
 * ---------------------------------------------
 * Date: 2018/11/12
 * Time: 10:34 AM
 */

namespace App\WechatMessages\ZPH;


use App\WeChat\Message\TemplateMessage;

class OrderRefundCompletedMessage extends TemplateMessage
{

    protected $template_id = 'ibSyiwGOM7OHvlgCVQWxGkLit0X9HycfxM6up6bLJWQ';

    public function __construct()
    {
        $this->setFirst('您好，您对订单退款申请已经完成，自己已退还。');
        $this->setRemark('如有疑问，请联系我们在线客服。');
    }

    public function setRefundReason($value, $color='#333')
    {
        $this->setDataValue('keyword1', $value, $color);
    }

    public function setRefundAmount($value, $color='#333')
    {
        $this->setDataValue('keyword2', $value, $color);
    }


}
